<?php require("/homes/53/jc203335/public_html/cerealbox.com.au/forum/SSI.php");?> 

<?php

if ($context['user']['is_guest']) 
{
	echo '<div id="loggedOutDiv">';
	$_SESSION['login_url'] = 'http://dunk2.jcu.edu.au/~jc203335/cerealbox.com.au/menu/index.php';
	echo $_SERVER['PHP_SELF'];
	ssi_login();
	echo '</div>';
}
else 
{
	echo ' 
	<div id="loggedIn">
		Welcome, ' . $context['user']['name']. '
		<br />
		';
		
	$_SESSION['logout_url'] = 'http://dunk2.jcu.edu.au' . $_SERVER['PHP_SELF'];
	ssi_logout();
	echo $_SERVER['PHP_SELF'];
	echo '
	</div>
	';
}
?>


						